<template>
  <div>
    <div>
      <h4>肌力评定</h4>
      <el-row type="flex" justify="space-around">
        <el-col :span="3">右上肢 </el-col>
        <el-col :span="7">
            <span>肩 </span>
            <el-select v-model="pgForm.nzzptpdb_pt_jl_zj" placeholder="请选择">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
        </el-col>
        <el-col :span="7">
            <span>肘 </span>
            <el-select v-model="pgForm.nzzptpdb_pt_jl_zz" placeholder="请选择">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
        </el-col>
        <el-col :span="7">
            <span>腕 </span>
            <el-select v-model="pgForm.nzzptpdb_pt_jl_zw" placeholder="请选择">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
        </el-col>

          <el-col :span="3">右下肢 </el-col>
          <el-col :span="7">
            <span>髋 </span>
            <el-select v-model="pgForm.nzzptpdb_pt_jl_zk" placeholder="请选择">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </el-col>
          <el-col :span="7">
            <span>膝 </span>
            <el-select v-model="pgForm.nzzptpdb_pt_jl_zx" placeholder="请选择">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </el-col>
          <el-col :span="7">
            <span>踝 </span>
            <el-select v-model="pgForm.nzzptpdb_pt_jl_zh" placeholder="请选择">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </el-col>

        <el-col :span="3">左上肢 </el-col>
        <el-col :span="7">
          <span>肩 </span>
          <el-select v-model="pgForm.nzzptpdb_pt_jl_j" placeholder="请选择">
            <el-option
              v-for="item in options"
              :key="item.value"
              :label="item.label"
              :value="item.value">
            </el-option>
          </el-select>
        </el-col>
        <el-col :span="7">
          <span>肘 </span>
          <el-select v-model="pgForm.nzzptpdb_pt_jl_z" placeholder="请选择">
            <el-option
              v-for="item in options"
              :key="item.value"
              :label="item.label"
              :value="item.value">
            </el-option>
          </el-select>
        </el-col>
        <el-col :span="7">
          <span>腕 </span>
          <el-select v-model="pgForm.nzzptpdb_pt_jl_w" placeholder="请选择">
            <el-option
              v-for="item in options"
              :key="item.value"
              :label="item.label"
              :value="item.value">
            </el-option>
          </el-select>
        </el-col>

        <el-col :span="3">左下肢 </el-col>
        <el-col :span="7">
          <span>髋 </span>
          <el-select v-model="pgForm.nzzptpdb_pt_jl_k" placeholder="请选择">
            <el-option
              v-for="item in options"
              :key="item.value"
              :label="item.label"
              :value="item.value">
            </el-option>
          </el-select>
        </el-col>
        <el-col :span="7">
          <span>膝 </span>
          <el-select v-model="pgForm.nzzptpdb_pt_jl_x" placeholder="请选择">
            <el-option
              v-for="item in options"
              :key="item.value"
              :label="item.label"
              :value="item.value">
            </el-option>
          </el-select>
        </el-col>
        <el-col :span="7">
          <span>踝 </span>
          <el-select v-model="pgForm.nzzptpdb_pt_jl_h" placeholder="请选择">
            <el-option
              v-for="item in options"
              :key="item.value"
              :label="item.label"
              :value="item.value">
            </el-option>
          </el-select>
        </el-col>
      </el-row>
    </div>
  </div>
</template>

<script>
export default {
  name: "muscle_strength_assessment",
  title:'肌力评定',
  created() {
    if(this.istrans){
      this.pgForm=this.fromdata;
    }
  },
  props: {
    fromdata:{},
    istrans:false,
  },
  data() {
    return {
      options: [{
        value: '0',
        label: '0'
      }, {
        value: '1',
        label: '1'
      }, {
        value: '2-',
        label: '2-'
      }, {
        value: '2',
        label: '2'
      }, {
        value: '2+',
        label: '2+'
      }, {
        value: '3-',
        label: '3-'
      }, {
        value: '3',
        label: '3'
      }, {
        value: '3+',
        label: '3+'
      }, {
        value: '4-',
        label: '4-'
      }, {
        value: '4',
        label: '4'
      }, {
        value: '4+',
        label: '4+'
      }, {
        value: '5-',
        label: '5-'
      }, {
        value: '5',
        label: '5'
      }],
      pgForm: {
        nzzptpdb_pt_jl_zj:'',
        nzzptpdb_pt_jl_zz:'',
        nzzptpdb_pt_jl_zw:'',
        nzzptpdb_pt_jl_zk:'',
        nzzptpdb_pt_jl_zh:'',
        nzzptpdb_pt_jl_zx:'',
        nzzptpdb_pt_jl_j:'',
        nzzptpdb_pt_jl_z:'',
        nzzptpdb_pt_jl_w:'',
        nzzptpdb_pt_jl_k:'',
        nzzptpdb_pt_jl_h:'',
        nzzptpdb_pt_jl_x:'',
      }
    }
  }
}
</script>

<style scoped>
.el-row{
  margin: 10px 0;
  padding: 20px 20px;
  background-color: #f9f9f9;
  flex-wrap: wrap;
  flex-direction: row;
}
.el-select{
  width: 40%;
}
.el-col {
  margin: 10px 0;
}


</style>
